﻿
namespace Test30.Engine
{
    public class RestoreAction : Action
    {
        public RestoreAction(Hero hero, Stat stat)
            : base(hero)
        {
            _stat = stat;
        }

        protected override ActionResult OnProcess()
        {
            if (_stat.Restore())
            {
                
            }
            return ActionResult.Done;
        }

        private readonly Stat _stat;
    }
}
